Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

856 toolbox metal test cases #859

Merged
merged 8 commits into from
Oct 13, 2022
Merged

856 toolbox metal test cases #859

merged 8 commits into from
Oct 13, 2022

Conversation

cdelnano
Copy link
Collaborator

@cdelnano cdelnano commented Oct 5, 2022

What are the issues this pull addresses (issue numbers / links)?

#856 Add Additional Test Cases

Did you add tests to cover your changes (yes/no)?

yes

Did you update the documentation accordingly (yes/no)?

no (added comments in test_toolbox_metal.py)

Did you read the CONTRIBUTING document (yes/no)?

yes

Summary

Added unit tests for the following functions/methods:

  • input_error
  • open_docs
  • orient_me
  • get_platform_info
  • extract_value_unit
  • aligned_pts

Details and comments

Added unit tests to validate these functions/methods. Completed a portion of issue #856 . I would like to save this branch to continue developing on it.

…etal documentation in HTML without any errors.
… unit test to check that orient_me in about.py prints without errors.
… test get_platform_info in about.py. Which returns a string with the platform information if no errors are present.
…ispelling of exception in test_toolbox_metal_instantiation_qlibrary_gui_exception().
@cdelnano cdelnano marked this pull request as ready for review October 5, 2022 20:37
Copy link
Collaborator

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a great start to adding test cases to CI. Thank you.

obrienpja
obrienpja previously approved these changes Oct 11, 2022
Copy link
Collaborator

@obrienpja obrienpja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Great job!

@cdelnano cdelnano force-pushed the 856_toolbox_metal_test_cases branch from 69cd7c1 to 7c94ff4 Compare October 11, 2022 19:41
Copy link
Collaborator Author

@cdelnano cdelnano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated test_toolbox_metal_extract_value_unit per Thomas's comment.

Copy link
Collaborator

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great job.

@ThomasGM4 ThomasGM4 merged commit fc9a0bc into main Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants